FAXCRON

Section: Misc. Reference Manual Pages (1M)
Updated: April 7, 1994
Index Return to Main Contents
 

NAME

faxcron - FlexFAX routine maintenance script  

SYNOPSIS

bin/faxcron [ -n ]  

DESCRIPTION

faxcron is a command script that does routine upkeep tasks in a FlexFAX spooling directory hierarchy. This script is intended to be invoked from cron(1M) on behalf of the fax user once a day with the standard output sent by mail to the FlexFAX administrator. For example, setup the following crontab for the fax user:

25    23    *    *    *    sh /usr/spool/fax/bin/faxcron | mail FaxMaster

faxcron does the following work:

*
report any recent calls that failed suspiciously and return the associated trace log;
*
purge data that is 30 days or older from the remote machine information directory;
*
delete information that is 30 days or older from session trace log files;
*
remove received facsimile that are 7 days or older;
*
report sites that are currently having jobs rejected; and
*
force all session log files to be owned by the fax user and kept with protection mode 644.

The -n option forces faxcron to run without updating any files.  

NOTES

This script requires nawk(1) or gawk(1) and a date (1) program that supports the ``+format'' option.

If session logs are to be kept private this script must be modified.  

FILES

${SPOOL}                spooling area
${SPOOL}/etc/lastrun    timestamp of last run
/tmp/faxcronXXXX        temporary file for truncating session logs
/tmp/faxlogXXXX         temporary file for logs of failed calls
 

SEE ALSO

cron(1M), faxd(1M), intro(4F)


 

Index

NAME
SYNOPSIS
DESCRIPTION
NOTES
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 10:15:15 GMT, January 04, 2023